
from fastapi import FastAPI 
from web import creature, explorer, login , user 


app = FastAPI() 
app.include_router(router=creature.router, tags=['creature'])
app.include_router(router=explorer.router, tags=['explorer'])
app.include_router(router=login.router, tags=['login'])
app.include_router(router=user.router, tags=['user'])

@app.get('/', tags=['main']) 
def top(): 
    return 'top here' 


@app.get('/echo{thing}', tags=['main'])
def echo(thing): 
    return f'echoing {thing}'



if __name__ == '__main__': 
    
    import uvicorn 
    uvicorn.run('main:app', reload=True) 

